<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var stu = {
				name: '张三',
				age: 20,
				study: function() {
					console.log("学习");
				}
			}
			// console.log(stu.name);
			// stu.study();
			
			console.log(stu['name']);
			stu['study']();
		</script>
	</body>
</html>
